@import '../../style/mixin.less';

.page-chain-list {
  .page();
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: auto;

  .page-header-container {
    height: 64px;
    .page-header {
      padding-top: 20px;
      margin-bottom: 0;
    }
  }

  .ant-tabs,
  .ant-tabs-content-holder,
  .ant-tabs-content,
  .tabpanel {
    height: 100%;
  }

  .chain-list {
    height: 100%;
    overflow: auto;
    display: flex;
    background: var(--r-neutral-card-1, rgba(255, 255, 255, 0.06));
    flex-wrap: wrap;
    border-radius: 4px;
    margin-bottom: 20px;

    &-item {
      display: flex;
      position: relative;
      align-items: center;
      font-weight: 500;
      font-size: 14px;
      line-height: 18px;
      color: var(--r-neutral-title-1, #192945);
      padding: 14px 16px;
      width: 50%;
      white-space: nowrap;
      border-bottom: 0.5px solid var(--r-neutral-line, rgba(255, 255, 255, 0.10));
      &:nth-child(2n + 1) {
        border-right: 0.5px solid var(--r-neutral-line, rgba(255, 255, 255, 0.10));
      }
      &:nth-last-child(1),
      &:nth-last-child(2) {
        border-bottom: 0;
      }
      img {
        width: 28px;
        margin-right: 12px;
      }
    }
  }
}
